$(function(){
	//获取值
	$("#content .nei p .money").html(getCookie("firstmoney"))
	var time = "";var i = 5;
	$("#content .nei .btn .ljzf").click(function(){
		$("#wancheng").css("display","block");
		clearInterval(time);
		time = setInterval(function(){
			i--;
			console.log(i)
			$("strong").html(i);
			if(i < 1 ){
			clearInterval(time);
			window.location.href="../index.html"
			}
		},1000)
		
	})
})
